<!DOCTYPE html>
<html lang="en">
	<head>
	</head>
	<body>
		<script>
			var recursion = function(i){
			if(i < 1) return 0;
			return i + recursion(i-1);
			}
			console.log(recursion(100));
		</script>
	</body>
</html>
